
_.templateSettings.interpolate = /\{\{(.+?)\}\}/g

PersonModel = Backbone.Model.extend({})

PersonView = Backbone.View.extend({
	template: _.template($('#person-template').html()),
	render:->
		this.$el.html(this.template(this.model.attributes))
		return this
})
p = new PersonModel()
p.set('Name','Buba')

view = new PersonView({model:p});

$('body').append(view.render().el)